
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Realm - Users</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="管理平台">
   <include file="Public/head" />
   
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  </head>
  <body>
   <div id="wrap">
    <include file="Public/top" />
    <div style="margin-top:15px"
 class="container-fluid">
<include file="Public/sidemenu"/>
<div style="margin-top:15px"
 class="main_container" id="users_page">

            <div class="row-fluid">

                <h2 class="heading">
                    视频管理
                </h2>
            </div> <!-- /row-fluid -->

            <!--此处往下为代码改写部分-->
            <div class="row-fluid">
                <div class="widget widget-padding span12">
                    <div class="widget-header">
                        <i class="icon-group"></i>
                        <h5>视频信息列表</h5>
                        <div class="widget-buttons">
                            <!--<a href="#" data-title="Add User" data-toggle="modal" data-target="#example_modal"><i class="icon-plus"></i></a>-->
                            <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
                        </div>
                    </div>
                    
            <form class="form-horizontal"  method="post" action="__URL__/updatevideo" enctype="multipart/form-data">
                  <input type="hidden" name="video_id" value="<?php echo $video[0]['video_id']; ?>">
                 <input type="hidden" name="oldpic" value="<?php echo $video[0]['video_videos']; ?>">
        <div class="widget-body">
              <div class="widget-forms clearfix">
                <form class="form-horizontal">

                  <div class="control-group">
                    <label class="control-label">视频名称:</label>
                    <div class="controls">
                      <input class="span7 tip" name="video_title" type="text"  value=<?php  echo $video[0]['video_title'];  ?>>
                    </div>
                  </div>
                   
                  </div>

               <div class="control-group">
                    <label class="control-label">视频:</label>
                    <div class="controls">
                     <video width="150" height="250" controls autobuffer>  
                           <source src="__PUBLIC__/Admin/photo/{$v.video_videos}" ></source>
                           </video> 
                      
                    </div>
                </div>
                          <div class="form-group">
                   <label class="control-label">选择新视频</label>
                    <div class="controls">
                       <input type="file" name="video_videos">  
                   </div>             
                                    </div> 
            

       
            <div class="widget-footer">
            <div class="controls">
            <!--    <button class="btn btn-primary" type="submit">保存修改信息</button> -->
                 <button class="btn" type="submit">保存修改信息</button></a>
            </div>
            </div> 

            <div class="widget-footer">
            <div class="controls">
               
                 <a href="/neu1_yuejian/Admin/Video/videolist.html"><button class="btn btn-primary" type="button">返回</button></a>
            </div>
            </div>
            </form>
          </div>
        </div> 
                </div> <!-- /widget -->
            </div> <!-- /row-fluid -->

        </div>
        <!-- /Main window -->

    </div><!--/.fluid-container-->
</div><!-- wrap ends-->
</body>
</html>